package com.example.mybatis.mapper;

import com.example.mybatis.bean.Catalogue;
import com.example.mybatis.bean.Details;
import com.example.mybatis.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DetailsMapper {
    Details selectById(Integer id);

    int insert(Details details);

    int update(Details details);

    int removeById(Integer id);

    List<Details> selectList(@Param("title") String title, @Param("catalogueId") Integer catalogueId);
    List<Details> selectList1( @Param("catalogueId") Integer catalogueId, @Param("title") String title);

}
